package com.gmgx.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Classroom {
    private Integer cno;
    private String cname;
    private String addr;

    private List<Student> myStuList;

    @Override
    public String toString() {
        return "Classroom{" +
                "cno=" + cno +
                ", cname='" + cname + '\'' +
                ", addr='" + addr + '\'' +
                '}';
    }
}
